<% if logged_in? %>	
	<div>All: <b><%= Computer.count %></b></div>
	<div style="color: #008000;">Up: <b><%= Computer.count(:conditions => ["status = 1"]) %></b></div>
	<div style="color: #FF0000;" > Down: <b><%= Computer.count(:conditions => ["status = 0"]) %></b></div>
	<div style="color: #FFA500;">Operation: <b><%= Computer.count(:conditions => ["status = 2"]) %></b></div>
<%end%>
